import { request } from "../utils/request";

//显示查询

export const fechFileList = (data) => {
  return request.get(`/api/dirList`,data)
}

//文件下载

export const fileDownload = (data) => {
  return request.get(`/api/download${fileNmae}`,data)
}

//文件上传
export const fileUpload = (data) => {
  console.log("data",data);
  return request.post('/api/upload', data)
}